package com.kingtsoft.study.persist;

import com.kingtsoft.study.model.StudyStudent;

public interface StudyStudentMapper {
    int deleteByPrimaryKey(String id);

    int insert(StudyStudent record);

    int insertSelective(StudyStudent record);

    StudyStudent selectByPrimaryKey(String id);
    /**
     * 
     * @Title: selectByUserId 
     * @Description:  根据userId获取学生对象
     * @author: shenlx
     * @param userId
     * @return
     * @return: StudyStudent
     */
    StudyStudent selectByUserId(String userId);

    int updateByPrimaryKeySelective(StudyStudent record);

    int updateByPrimaryKey(StudyStudent record);
}